const locales = require('../locales/ru.json')

const t = (key, values) => locales[key]

module.exports = {
  t,
  useTranslation: () => ({
    t,
    i18n: {
      changeLanguage: () => {},
      language: 'ru',
    },
  }),
};
